home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / Organization / Mailing List ƒ / Mailing List Maker / Mailing List Maker / background_3418.txt < prev    next >
Encoding:
Text File  |  1988-03-28  |  10.6 KB  |  513 lines

  1. -- background: 3418 from stack: in
  2. -- bmap block id: 2058
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: File Card
  6. ----- HyperTalk script -----
  7. on openStack
  8.   hide message box
  9.   show menuBar
  10.   pass openStack
  11. end openStack
  12.  
  13. on closeField
  14.   put the date into field "update"
  15. end closeField
  16.  
  17. on newCard
  18.   tabKey
  19. end newCard
  20.  
  21.  
  22.  
  23.  
  24. -- part 1 (field)
  25. -- low flags: 00
  26. -- high flags: 0000
  27. -- rect: left=112 top=23 right=42 bottom=295
  28. -- title width / last selected line: 0
  29. -- icon id / first selected line: 0 / 0
  30. -- text alignment: 0
  31. -- font id: 2
  32. -- text size: 12
  33. -- style flags: 256
  34. -- line height: 16
  35. -- part name: Name
  36.  
  37.  
  38. -- part 6 (button)
  39. -- low flags: 00
  40. -- high flags: 0000
  41. -- rect: left=238 top=320 right=340 bottom=257
  42. -- title width / last selected line: 0
  43. -- icon id / first selected line: 1014 / 1014
  44. -- text alignment: 1
  45. -- font id: 0
  46. -- text size: 12
  47. -- style flags: 0
  48. -- line height: 16
  49. -- part name: Prev
  50. ----- HyperTalk script -----
  51. on mouseUp
  52.   go to prev card
  53. end mouseUp
  54.  
  55.  
  56.  
  57. -- part 7 (button)
  58. -- low flags: 00
  59. -- high flags: 0000
  60. -- rect: left=262 top=320 right=340 bottom=281
  61. -- title width / last selected line: 0
  62. -- icon id / first selected line: 1013 / 1013
  63. -- text alignment: 1
  64. -- font id: 0
  65. -- text size: 12
  66. -- style flags: 0
  67. -- line height: 16
  68. -- part name: Next
  69. ----- HyperTalk script -----
  70. on mouseUp
  71.   go to next card
  72. end mouseUp
  73.  
  74.  
  75.  
  76. -- part 8 (button)
  77. -- low flags: 00
  78. -- high flags: 0000
  79. -- rect: left=472 top=316 right=335 bottom=493
  80. -- title width / last selected line: 0
  81. -- icon id / first selected line: 1012 / 1012
  82. -- text alignment: 1
  83. -- font id: 0
  84. -- text size: 12
  85. -- style flags: 0
  86. -- line height: 16
  87. -- part name: Return
  88. ----- HyperTalk script -----
  89. on mouseUp
  90.   visual effect iris close
  91.   pop card
  92. end mouseUp
  93.  
  94.  
  95.  
  96. -- part 11 (field)
  97. -- low flags: 00
  98. -- high flags: 0002
  99. -- rect: left=76 top=255 right=270 bottom=198
  100. -- title width / last selected line: 0
  101. -- icon id / first selected line: 0 / 0
  102. -- text alignment: 0
  103. -- font id: 3
  104. -- text size: 12
  105. -- style flags: 0
  106. -- line height: 16
  107. -- part name: Home Phone Number
  108.  
  109.  
  110. -- part 30 (field)
  111. -- low flags: 00
  112. -- high flags: 0000
  113. -- rect: left=423 top=273 right=289 bottom=495
  114. -- title width / last selected line: 0
  115. -- icon id / first selected line: 0 / 0
  116. -- text alignment: 1
  117. -- font id: 3
  118. -- text size: 12
  119. -- style flags: 0
  120. -- line height: 16
  121. -- part name: update
  122.  
  123.  
  124. -- part 36 (button)
  125. -- low flags: 00
  126. -- high flags: 0000
  127. -- rect: left=17 top=18 right=44 bottom=45
  128. -- title width / last selected line: 0
  129. -- icon id / first selected line: 20098 / 20098
  130. -- text alignment: 1
  131. -- font id: 0
  132. -- text size: 12
  133. -- style flags: 0
  134. -- line height: 16
  135. -- part name: Home
  136. ----- HyperTalk script -----
  137. on mouseUp
  138.   visual effect iris close
  139.   go "Home"
  140. end mouseUp
  141.  
  142.  
  143.  
  144. -- part 37 (button)
  145. -- low flags: 00
  146. -- high flags: 0004
  147. -- rect: left=19 top=295 right=329 bottom=58
  148. -- title width / last selected line: 0
  149. -- icon id / first selected line: 22855 / 22855
  150. -- text alignment: 1
  151. -- font id: 0
  152. -- text size: 12
  153. -- style flags: 0
  154. -- line height: 16
  155. -- part name: Yearly
  156. ----- HyperTalk script -----
  157. on mouseUp
  158.   get the seconds
  159.   convert it to dateItems
  160.   put ((item 1 of it) - 1987) *2 into whichSix
  161.   if item 2 of it > 6 then add 1 to whichSix
  162.   visual effect zoom open
  163.   if whichSix < 1 then go card 1 of stack "DateBook"
  164.   else if whichSix > 5 then go card 5 of stack "DateBook"
  165.   else
  166.     go to card whichSix of stack "DateBook"
  167.     send "bracketWeek" && the seconds to this card
  168.   end if
  169. end mouseUp
  170.  
  171.  
  172.  
  173. -- part 38 (button)
  174. -- low flags: 00
  175. -- high flags: 0004
  176. -- rect: left=61 top=295 right=329 bottom=100
  177. -- title width / last selected line: 0
  178. -- icon id / first selected line: 21209 / 21209
  179. -- text alignment: 1
  180. -- font id: 0
  181. -- text size: 12
  182. -- style flags: 0
  183. -- line height: 16
  184. -- part name: Daily
  185. ----- HyperTalk script -----
  186. on mouseUp
  187.   set lockScreen to true
  188.   go stack "DateBook"
  189.   goWeekly the seconds
  190.   set lockScreen to false
  191. end mouseUp
  192.  
  193.  
  194.  
  195. -- part 39 (button)
  196. -- low flags: 00
  197. -- high flags: 0004
  198. -- rect: left=430 top=295 right=329 bottom=469
  199. -- title width / last selected line: 0
  200. -- icon id / first selected line: 20186 / 20186
  201. -- text alignment: 1
  202. -- font id: 0
  203. -- text size: 12
  204. -- style flags: 0
  205. -- line height: 16
  206. -- part name: 
  207. ----- HyperTalk script -----
  208. on mouseUp
  209.   answer "Sort all cards of this stack according to:" with "First Name" or "Last Name" or "Cancel"
  210.   if it is "First Name"
  211.   then sort by first word of first line of field "Name"
  212. else if it is "Last Name"
  213. then sort by last word of first line of field "Name"
  214. end mouseUp
  215.  
  216.  
  217.  
  218. -- part 40 (button)
  219. -- low flags: 00
  220. -- high flags: 0004
  221. -- rect: left=386 top=295 right=329 bottom=425
  222. -- title width / last selected line: 0
  223. -- icon id / first selected line: 32670 / 32670
  224. -- text alignment: 1
  225. -- font id: 0
  226. -- text size: 12
  227. -- style flags: 0
  228. -- line height: 16
  229. -- part name: 
  230. ----- HyperTalk script -----
  231. on mouseUp
  232.   show all cards
  233. end mouseUp
  234.  
  235.  
  236.  
  237. -- part 41 (button)
  238. -- low flags: 00
  239. -- high flags: 0004
  240. -- rect: left=104 top=295 right=329 bottom=143
  241. -- title width / last selected line: 0
  242. -- icon id / first selected line: 20965 / 20965
  243. -- text alignment: 1
  244. -- font id: 0
  245. -- text size: 12
  246. -- style flags: 0
  247. -- line height: 16
  248. -- part name: To Do
  249. ----- HyperTalk script -----
  250. on mouseUp
  251.   go to card "First Do" of stack "Datebook"
  252. end mouseUp
  253.  
  254.  
  255.  
  256. -- part 42 (button)
  257. -- low flags: 00
  258. -- high flags: 0000
  259. -- rect: left=54 top=253 right=270 bottom=76
  260. -- title width / last selected line: 0
  261. -- icon id / first selected line: 30696 / 30696
  262. -- text alignment: 1
  263. -- font id: 0
  264. -- text size: 12
  265. -- style flags: 0
  266. -- line height: 16
  267. -- part name: Home Phone Dailer
  268. ----- HyperTalk script -----
  269. on mouseUp
  270.   get the selection
  271.   if it is empty then get first line of field "Home Phone Number"
  272.   if it is empty then ask "Dial what number?"
  273.   if it is not empty then
  274.     push this card
  275.     visual effect zoom open
  276.     go to stack "Phone"
  277.     dial it
  278.     pop card
  279.   end if
  280. end mouseUp
  281.  
  282.  
  283.  
  284. -- part 43 (button)
  285. -- low flags: 00
  286. -- high flags: 8003
  287. -- rect: left=412 top=255 right=270 bottom=492
  288. -- title width / last selected line: 0
  289. -- icon id / first selected line: 0 / 0
  290. -- text alignment: 1
  291. -- font id: 0
  292. -- text size: 12
  293. -- style flags: 0
  294. -- line height: 16
  295. -- part name: Area Codes
  296. ----- HyperTalk script -----
  297. on mouseUp
  298.   go to card id 2596 of stack "Area Codes"
  299. end mouseUp
  300.  
  301.  
  302.  
  303.  
  304. -- part 44 (field)
  305. -- low flags: 00
  306. -- high flags: 0002
  307. -- rect: left=271 top=255 right=270 bottom=394
  308. -- title width / last selected line: 0
  309. -- icon id / first selected line: 0 / 0
  310. -- text alignment: 0
  311. -- font id: 3
  312. -- text size: 12
  313. -- style flags: 0
  314. -- line height: 16
  315. -- part name: Work Phone Number
  316.  
  317.  
  318. -- part 46 (button)
  319. -- low flags: 00
  320. -- high flags: 0000
  321. -- rect: left=249 top=253 right=270 bottom=271
  322. -- title width / last selected line: 0
  323. -- icon id / first selected line: 30696 / 30696
  324. -- text alignment: 1
  325. -- font id: 0
  326. -- text size: 12
  327. -- style flags: 0
  328. -- line height: 16
  329. -- part name: Work Phone Dailer
  330. ----- HyperTalk script -----
  331. on mouseUp
  332.   get the selection
  333.   if it is empty then get first line of field "Work Phone Number"
  334.   if it is empty then ask "Dial what number?"
  335.   if it is not empty then
  336.     push this card
  337.     visual effect zoom open
  338.     go to stack "Phone"
  339.     dial it
  340.     pop card
  341.   end if
  342. end mouseUp
  343.  
  344.  
  345.  
  346. -- part 47 (field)
  347. -- low flags: 00
  348. -- high flags: 0000
  349. -- rect: left=112 top=41 right=59 bottom=295
  350. -- title width / last selected line: 0
  351. -- icon id / first selected line: 0 / 0
  352. -- text alignment: 0
  353. -- font id: 2
  354. -- text size: 12
  355. -- style flags: 0
  356. -- line height: 16
  357. -- part name: Street Address
  358.  
  359.  
  360. -- part 48 (field)
  361. -- low flags: 00
  362. -- high flags: 0000
  363. -- rect: left=112 top=58 right=76 bottom=322
  364. -- title width / last selected line: 0
  365. -- icon id / first selected line: 0 / 0
  366. -- text alignment: 0
  367. -- font id: 2
  368. -- text size: 12
  369. -- style flags: 0
  370. -- line height: 16
  371. -- part name: City, State, Zip
  372.  
  373.  
  374. -- part 49 (field)
  375. -- low flags: 00
  376. -- high flags: 0000
  377. -- rect: left=112 top=78 right=97 bottom=270
  378. -- title width / last selected line: 0
  379. -- icon id / first selected line: 0 / 0
  380. -- text alignment: 0
  381. -- font id: 2
  382. -- text size: 12
  383. -- style flags: 0
  384. -- line height: 16
  385. -- part name: Spouse's Name
  386.  
  387.  
  388. -- part 50 (field)
  389. -- low flags: 00
  390. -- high flags: 0000
  391. -- rect: left=374 top=23 right=42 bottom=450
  392. -- title width / last selected line: 0
  393. -- icon id / first selected line: 0 / 0
  394. -- text alignment: 0
  395. -- font id: 2
  396. -- text size: 12
  397. -- style flags: 0
  398. -- line height: 16
  399. -- part name: Birthday
  400.  
  401.  
  402. -- part 51 (field)
  403. -- low flags: 00
  404. -- high flags: 0000
  405. -- rect: left=386 top=78 right=97 bottom=457
  406. -- title width / last selected line: 0
  407. -- icon id / first selected line: 0 / 0
  408. -- text alignment: 0
  409. -- font id: 2
  410. -- text size: 12
  411. -- style flags: 0
  412. -- line height: 16
  413. -- part name: Spouse's Birthday
  414.  
  415.  
  416. -- part 52 (field)
  417. -- low flags: 00
  418. -- high flags: 0000
  419. -- rect: left=137 top=114 right=132 bottom=507
  420. -- title width / last selected line: 0
  421. -- icon id / first selected line: 0 / 0
  422. -- text alignment: 0
  423. -- font id: 2
  424. -- text size: 12
  425. -- style flags: 0
  426. -- line height: 16
  427. -- part name: Children's Name(s)
  428.  
  429.  
  430. -- part 53 (field)
  431. -- low flags: 00
  432. -- high flags: 0000
  433. -- rect: left=374 top=41 right=59 bottom=509
  434. -- title width / last selected line: 0
  435. -- icon id / first selected line: 0 / 0
  436. -- text alignment: 0
  437. -- font id: 2
  438. -- text size: 12
  439. -- style flags: 0
  440. -- line height: 16
  441. -- part name: Occupation
  442.  
  443.  
  444. -- part 54 (field)
  445. -- low flags: 00
  446. -- high flags: 0000
  447. -- rect: left=386 top=96 right=115 bottom=507
  448. -- title width / last selected line: 0
  449. -- icon id / first selected line: 0 / 0
  450. -- text alignment: 0
  451. -- font id: 2
  452. -- text size: 12
  453. -- style flags: 0
  454. -- line height: 16
  455. -- part name: Spouse's Occupation
  456.  
  457.  
  458. -- part 55 (field)
  459. -- low flags: 00
  460. -- high flags: 4000
  461. -- rect: left=16 top=145 right=253 bottom=502
  462. -- title width / last selected line: 0
  463. -- icon id / first selected line: 0 / 0
  464. -- text alignment: 0
  465. -- font id: 2
  466. -- text size: 10
  467. -- style flags: 0
  468. -- line height: 13
  469. -- part name: General
  470.  
  471.  
  472. -- part 62 (button)
  473. -- low flags: 00
  474. -- high flags: 8003
  475. -- rect: left=298 top=303 right=320 bottom=376
  476. -- title width / last selected line: 0
  477. -- icon id / first selected line: 0 / 0
  478. -- text alignment: 1
  479. -- font id: 0
  480. -- text size: 12
  481. -- style flags: 0
  482. -- line height: 16
  483. -- part name: List Maker
  484. ----- HyperTalk script -----
  485. on mouseUp
  486.   go to stack "Mailing List Maker"
  487. end mouseUp
  488.  
  489.  
  490.  
  491. -- part 67 (button)
  492. -- low flags: 00
  493. -- high flags: 8003
  494. -- rect: left=151 top=303 right=320 bottom=229
  495. -- title width / last selected line: 0
  496. -- icon id / first selected line: 0 / 0
  497. -- text alignment: 1
  498. -- font id: 0
  499. -- text size: 12
  500. -- style flags: 0
  501. -- line height: 16
  502. -- part name: New Card
  503. ----- HyperTalk script -----
  504. on mouseUp
  505.   choose button tool
  506.   click at 60,280
  507.   doMenu "Copy Button"
  508.   doMenu "New Card"
  509.   doMenu "Paste Button"
  510.   choose browse tool
  511. end mouseUp
  512.  
  513.